package com.personnalManagerSystem.service;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.personnalManagerSystem.model.User;
import com.personnalManagerSystem.model.User2;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liqing
 * @since 2022-03-27
 */
public interface IUserService extends IService<User> {


    User login(String username, String password);

    List<User2> selectUserDepartmentPosition(QueryWrapper<User2> wrapper);
    //查询所有用户数目
    Map<String, Integer> selectAllUser();

    User queryUsername(String username);
}
